import request from '@/utils/request';

export const hotSearchName = () => request({
  url: '/search/hot',

});
export const searchResult = params => request({
  url: '/cloudsearch',
  params,
});

export const searchMusicId = (id) => request({
  url: `/song/url?id=${id}`,
  method: 'GET',
});